package {
	
	public class NewClass {
		
		MovieClip.prototype.initboard = function() {
			var t = this;
			t.id == 11 ? (t.nil = App.bonusnil) : null;
			t.shake = t.got = 0;
			t.boc = new Color(t.bo);
			t.xs = t.xspeed = App.linespeed[t.line];
			t.x <= App.screenwid / 2 ? null : (t.xs = 0 - t.xs);
			t.onEnterFrame = function() {
				if (t.shake > 0) {
					--t.shake;
					t.ysh = 0.1 * random(20);
					t.r1.y = 0.5 * t.ysh;
					t.two.a.y = t.ysh;
					t.shake ? null : (t.r1.y = 0, t.two.a.y = 0, t.two.a.y = 0);
				}
				if (t.netani > 0) {
					t.two.a.n.gotoAndStop(t.netani);
					t.netani = 0;
				}
				if (!t.got) {
					t.nil <= 0 ? null : (App.slow ? (t.nil = Math.max(100, t.nil - 5)) : (t.nil = Math.max(100, t.nil - 15)));
					return;
				}
				if (t.got == 1) {
					t.got = 2;
					++App.got;
					App.waktu = App.waktu + App.gotwaktu;
					t.bo.whiteflash.gotoAndStop(2);
					if (t.id < 12) {
						t.id >= 5 ? null : (nil = App.ringscore[t.id]);
						t.id == 11 ? (nil = t.nil) : null;
						App.triplebonus ? (nil = nil * 3, App.ztitink.start()) : null;
						App.ang = App.ang + nil;
						popskor(t.x, t.y - 20, nil);
					} else {
						t.id == 12 ? (App.slow = App.slowtime) : null;
						if (t.id == 13) {
							App.dotspace = App.dotspacebig;
							App.big = App.bigtime;
							var __reg1 = 0;
							while (__reg1 < App.rings.length) {
								App.rings[__reg1].r1.tint(8);
								App.rings[__reg1].two.tint(8);
								++__reg1;
							}
						}
						t.id == 15 ? (App.waktu = App.waktu + App.bonustime, stat.timer.tint(20)) : null;
						t.id == 16 ? (App.triplebonus = App.triplebonustime) : null;
						if (t.id == 14) {
							App.removeball = App.removeballdelay * 8;
							var __reg5 = 7 - App.balls.length - App.hold;
							if (__reg5 > 0) {
								__reg5 == 1 ? (angle = [90]) : null;
								__reg5 == 2 ? (angle = [110, 70]) : null;
								__reg5 == 3 ? (angle = [120, 90, 60]) : null;
								__reg5 == 4 ? (angle = [130, 110, 70, 50]) : null;
								__reg5 == 5 ? (angle = [110, 70, 120, 90, 60]) : null;
								__reg5 == 6 ? (angle = [150, 130, 110, 70, 50, 30]) : null;
								__reg1 = 0;
								while (__reg1 < __reg5) {
									var __reg2 = rad(angle.shift());
									var __reg3 = Math.cos(__reg2) * 10;
									var __reg4 = Math.sin(__reg2) * 10;
									makeball(1, t.x, t.y + 16, __reg3, __reg4);
									++__reg1;
								}
							}
						}
						popmessage(t.x, t.y - 20, t.id - 11);
					}
					if (t.id > 0) {
						m2.attachMovie("boardflash", "boardflash" + App.bsd, App.bsd, {_x: t.x, _y: t.y});
						++App.bsd;
						App.zbonus.start();
						t.removering();
					}
				}
			}
			;
		}
		
		MovieClip.prototype.initball = function() {
			var t = this;
			t.radius = Math.round(t.width / 2);
			t.bounce = 0.8;
			t.mass = 50;
			t.vx = 0;
			t.xmin = t.radius;
			t.xmax = App.screenwid - t.radius;
			t.ymax = App.yland - t.radius;
			t.bumped = t.uda = t.udaswap = t.pass = t.swapdep = t.still = t.got = 0;
			
			t.onEnterFrame = function() {
				t.oldx = t.x;
				t.oldy = t.y;
				t.vy = t.vy + App.grav;
				t.y = t.y + t.vy;
				t.x = t.x + t.vx;
				if (t.vy > 0) {
					t.uda ? null : (t.uda = 1, App.balls.push(t));
					if (t.y < 250) {
						var __reg2 = 0;
						while (__reg2 < App.rings.length) {
							var __reg1 = App.rings[__reg2];
							if (Math.abs(__reg1.y - t.y) < 60 && Math.abs(__reg1.x - t.x) < 60) {
								if (t[__reg1._name + "pass"] == undefined) {
									t[__reg1._name + "pass"] = 0;
								} else if (t[__reg1._name + "pass"] == 0) {
									if (t.hitTest(__reg1.z1)) {
										t[__reg1._name + "pass"] = 1;
										t.udaswap ? null : (t.udaswap = 1, t.swapDepths(t.dep - 20000));
									}
								} else if (t[__reg1._name + "pass"] == 1) {
									if (t.hitTest(__reg1.z2)) {
										__reg1.got = 1;
										++t.got;
										__reg1.netani = 3;
										App.music ? App.zswish.start() : null;
										t[__reg1._name + "pass"] = 9;
									}
								}
							} else {
								t[__reg1._name + "pass"] = undefined;
							}
							++__reg2;
						}
					}
				}
				if (t.vy > 0 && t.y > 250) {
					if (t.got > 1) {
						App.ang = App.ang + App.multiringscore[t.got];
						popmultirings(t.x, 240, t.got);
						App.ztititink.start();
						t.got = 0;
					}
				}
				if (t.y > t.ymax) {
					t.bumped = 1;
					t.y = t.ymax;
					t.vy <= 2 ? null : t.ballsfx(t.vy * 4);
					t.vy = -0.8 * t.vy;
					t.vx = 0.99 * t.vx;
				}
				if (t.x < t.xmin) {
					t.x = t.xmin;
					t.vx = -0.8 * t.vx;
				} else if (t.x > t.xmax) {
					t.x = t.xmax;
					t.vx = -0.8 * t.vx;
				}
				if (t.y == t.ymax) {
					Math.abs(t.oldx - t.x) < 1 && Math.abs(t.oldy - t.y) < 1 ? (t.still = 1) : (t.still = 0);
				}
			}
			t.stop();
		}
		
		MovieClip.prototype.tint = function(delay, colr) {
			var t = this.createEmptyMovieClip("tintmc", this.getNextHighestDepth());
			t.d = delay;
			t.d ? null : (t.d = 10);
			t.colr = colr;
			t.colr ? null : (t.colr = 16737792);
			t.c = new Color(t._parent);
			t.a = t.b = 1;
			t._parent.filters = [new flash.filters.GlowFilter(t.colr, 1, 7, 7, 1.5, 1, false, false)];
			t.onEnterFrame = function() {
				--t.d;
				--t.a;
				if (t.a) {
					t.c.resetColor();
				} else {
					t.a = 2;
					t.b = !t.b;
					if (t.b) {
						t.c.setTint(t.colr, 100);
					} else {
						t.c.setTint(16777215, 100);
					}
				}
				if (t.d) {
					return;
				}
				t.c.resetColor();
				t._parent.filters = null;
				t.removeMovieClip();
			}
			;
		}
		
		MovieClip.prototype.appear = function(speed) {
			var t = this.createEmptyMovieClip("appearmc", this.getNextHighestDepth());
			speed ? null : (speed = 15, 15);
			t.speed = speed;
			t.yy = t._parent.y - 25;
			t._parent._alpha = 0;
			t.onEnterFrame = function() {
				t._parent.y = t._parent.y + (t.yy - t._parent.y) / 2;
				t._parent._alpha = t._parent._alpha + t.speed;
				if (t._parent._alpha >= 100) {
					t._parent._alpha = 100;
					delete t.onEnterFrame;
				}
			}
			;
		}
		
		MovieClip.prototype.disappear = function(speed, ys) {
			var t = this.createEmptyMovieClip("disappearmc", this.getNextHighestDepth());
			speed ? null : (speed = 20, 20);
			ys == undefined ? (ys = -2, -2) : null;
			t.speed = speed;
			t.ys = ys;
			t.onEnterFrame = function() {
				t._parent.y = t._parent.y + t.ys;
				t._parent._alpha = t._parent._alpha - t.speed;
				if (t._parent._alpha <= 0) {
					delete t.onEnterFrame;
					t._parent.removeMovieClip();
				}
			}
			;
			t.stop();
		}
		
		MovieClip.prototype.popskor = function(xx, yy, sk) {
			App.triplebonus ? (a = "poptriplescore") : (a = "popscore");
			m.attachMovie(a, "pop" + App.popd, App.popd, {_x: Math.min(App.screenwid - 30, Math.max(30, xx)), _y: yy, sk: sk});
			++App.popd;
		}
		
		MovieClip.prototype.popmessage = function(xx, yy, no) {
			m.attachMovie("popmessage", "pop" + App.popd, App.popd, {_x: Math.min(App.screenwid - 30, Math.max(30, xx)), _y: yy, no: no});
			++App.popd;
		}
		
		MovieClip.prototype.popmultirings = function(xx, yy, no) {
			m.attachMovie("popmultirings", "pop" + App.popd, App.popd, {_x: Math.min(App.screenwid - 30, Math.max(30, xx)), _y: yy, no: no});
			++App.popd;
		}
		
		MovieClip.prototype.moverings = function() {
			var __reg2 = 0;
			for (; ; ) {
				if (__reg2 >= App.rings.length) {
					return;
				}
				var __reg1 = App.rings[__reg2];
				App.slow ? (__reg1.x = __reg1.x + __reg1.xs / 3) : (__reg1.x = __reg1.x + __reg1.xs);
				__reg1.dot1.x = __reg1.x - App.dotspace;
				__reg1.dot2.x = __reg1.x + App.dotspace;
				__reg1.two.x = __reg1.x;
				__reg1.dot1.y = __reg1.dot2.y = __reg1.two.y = __reg1.y;
				if (__reg1.x < App.ringxmin || __reg1.x > App.ringxmax) {
					__reg1.removering();
				}
				++__reg2;
			}
		}
		
		MovieClip.prototype.removering = function() {
			var __reg2 = this;
			__reg2.dot1.removeit(App.dots);
			__reg2.dot2.removeit(App.dots);
			__reg2.two.removeMovieClip();
			__reg2.removeit(App.rings);
		}
		
		MovieClip.prototype.removeit = function(arr) {
			arr.removeValue(this);
			this.removeMovieClip();
		}
		
		MovieClip.prototype.timetotext = function(waktu, onesec) {
			var __reg1 = Math.floor(waktu / onesec);
			var __reg3 = (waktu - __reg1 * onesec) * 4;
			var __reg2 = Math.floor(__reg1 / 60);
			__reg1 = __reg1 - __reg2 * 60;
			__reg2 >= 10 ? (tmin = __reg2) : (tmin = "0" + __reg2);
			__reg1 >= 10 ? (tsec = __reg1) : (tsec = "0" + __reg1);
			__reg3 >= 10 ? (tmsec = __reg3) : (tmsec = "0" + __reg3);
			return tmin + ":" + tsec;
		}
		
		MovieClip.prototype.initdot = function() {
			var __reg2 = this;
			App.dots.push(__reg2);
			__reg2.mass = 1000;
			__reg2.bounce = 0.8;
			__reg2.radius = 4;
			__reg2._visible = false;
		}
		
		function abc() {
			p.gotoAndStop("shoot");
			p._xscale = 100;
			d = 19;
			onEnterFrame = function ()
			{
				--d;
				if (d == 9) 
				{
					makeball(r.ballcolor, p._x, p._y - 180, 0, 0 - (powermin + powerdiv * powerrange));
					r.hold = r.ballcolor = 0;
				}
				if (d) 
				{
					return;
				}
				gotoAndPlay(1);
			}
			;
			stop();

		}
		
		
		MovieClip.prototype.makeball = function(bcolor, xx, yy, vx, vy) {
			var __reg1 = m.attachMovie("ball", "b" + App.b, App.b, {_x: xx, _y: yy, bcolor: bcolor, vx: vx, vy: vy, dep: App.b});
			__reg1.zb1 = new Sound(__reg1);
			__reg1.zb2 = new Sound(__reg1);
			__reg1.zb1.attachSound("zball1");
			__reg1.zb2.attachSound("zball2");
			++App.b;
		}
		
		MovieClip.prototype.bonuslaunch = function(no) {
			var __reg1 = 0;
			for (; ; ) {
				if (__reg1 >= 16) {
					return;
				}
				App.bon.attachMovie("bonus", "bonus" + App.bde, App.bde);
				App.bon["bonus" + App.bde]._x = 100 + random(500);
				App.bon["bonus" + App.bde]._y = (0 - __reg1) * 60;
				App.bon["bonus" + App.bde].no = no;
				++App.bde;
				++__reg1;
			}
		}
		
		MovieClip.prototype.ballsfx = function(vol) {
			if (App.music) {
				vol = Math.min(100, vol);
				random(100) <= 50 ? (sfx = "zb2") : (sfx = "zb1");
				this[sfx].setVolume(vol);
				this[sfx].start();
			}
		}
		
		MovieClip.prototype.makering = function(id, xx, yy) {
			yy >= 100 ? (yy <= 170 ? (no = 2) : (no = 3)) : (no = 1);
			var __reg5 = m.attachMovie("ring", "ring" + App.rd, App.rd, {_x: xx, _y: yy});
			var __reg1 = m.attachMovie("board", "board" + App.bd, App.bd, {id: id, _x: xx, _y: yy, two: __reg5, line: no});
			App.rings.push(__reg1);
			++App.bd;
			++App.rd;
			var __reg2 = m.attachMovie("dot", "b" + App.b, App.b);
			__reg2.ringname = __reg1._name;
			++App.b;
			var __reg3 = m.attachMovie("dot", "b" + App.b, App.b);
			__reg3.ringname = __reg1._name;
			net = 0;
			++App.b;
			__reg1.dot1 = __reg2;
			__reg1.dot2 = __reg3;
		}
		
		MovieClip.prototype.cekballcoll = function() {
			var __reg20 = 0;
			for (; ; ) {
				if (__reg20 >= App.balls.length - 1) {
					return;
				}
				var __reg2 = App.balls[__reg20];
				var __reg9 = __reg20 + 1;
				while (__reg9 < App.balls.length) {
					var __reg1 = App.balls[__reg9];
					var __reg8 = __reg2.radius + __reg1.radius;
					var __reg5 = __reg2.x - __reg1.x;
					if (Math.abs(__reg5) <= __reg8) {
						__reg5 == 0 ? (__reg5 = 0.1, 0.1) : null;
						var __reg6 = __reg2.y - __reg1.y;
						if (Math.abs(__reg6) <= __reg8) {
							__reg6 == 0 ? (__reg6 = 0.1, 0.1) : null;
							var __reg21 = Math.sqrt(__reg5 * __reg5 + __reg6 * __reg6);
							if (__reg21 < __reg8) {
								var __reg11 = Math.atan2(__reg6, __reg5);
								var __reg3 = Math.cos(__reg11);
								var __reg4 = Math.sin(__reg11);
								var __reg15 = __reg3 * __reg2.vx + __reg4 * __reg2.vy;
								var __reg18 = __reg3 * __reg2.vy - __reg4 * __reg2.vx;
								var __reg17 = __reg3 * __reg1.vx + __reg4 * __reg1.vy;
								var __reg19 = __reg3 * __reg1.vy - __reg4 * __reg1.vx;
								var __reg22 = __reg2.mass * __reg15 + __reg1.mass * __reg17;
								var __reg14 = __reg15 - __reg17;
								var __reg10 = (__reg22 - __reg1.mass * __reg14) / (__reg2.mass + __reg1.mass);
								var __reg16 = __reg14 + __reg10;
								__reg2.vx = __reg3 * __reg10 * __reg2.bounce - __reg4 * __reg18;
								__reg2.vy = __reg3 * __reg18 + __reg4 * __reg10 * __reg2.bounce;
								__reg1.vx = __reg3 * __reg16 * __reg1.bounce - __reg4 * __reg19;
								__reg1.vy = __reg3 * __reg19 + __reg4 * __reg16 * __reg1.bounce;
								var __reg12 = (__reg2.x + __reg1.x) / 2;
								var __reg13 = (__reg2.y + __reg1.y) / 2;
								var __reg7 = __reg8 * 0.5;
								if (__reg2.mass < 1000) {
									__reg2.x = __reg12 + __reg3 * __reg7;
									__reg2.y = __reg13 + __reg4 * __reg7;
								}
								if (__reg1.mass < 1000) {
									__reg1.x = __reg12 - __reg3 * __reg7;
									__reg1.y = __reg13 - __reg4 * __reg7;
								}
							}
						}
					}
					++__reg9;
				}
				++__reg20;
			}
		}
		
		MovieClip.prototype.cekballdotcoll = function() {
			var __reg13 = 0.8;
			var __reg12 = 0;
			for (; ; ) {
				if (__reg12 >= App.balls.length) {
					return;
				}
				var __reg1 = App.balls[__reg12];
				if (__reg1.y < 300) {
					var __reg6 = 0;
					while (__reg6 < App.dots.length) {
						var __reg2 = App.dots[__reg6];
						var __reg3 = __reg1.x - __reg2.x;
						var __reg4 = __reg1.y - __reg2.y;
						__reg3 == 0 ? (__reg3 = 0.1, 0.1) : null;
						__reg4 == 0 ? (__reg4 = 0.1, 0.1) : null;
						var __reg7 = __reg1.radius + __reg2.radius;
						if (Math.abs(__reg3) <= minDis && Math.abs(__reg4) <= minDis) {
							var __reg11 = Math.sqrt(__reg3 * __reg3 + __reg4 * __reg4);
							if (__reg11 < __reg7) {
								var __reg8 = Math.atan2(__reg4, __reg3);
								var __reg9 = Math.cos(__reg8);
								var __reg10 = Math.sin(__reg8);
								var __reg5 = Math.sqrt(__reg1.vx * __reg1.vx + __reg1.vy * __reg1.vy);
								__reg1.vx = __reg9 * __reg5 * __reg13;
								__reg1.vy = __reg10 * __reg5 * __reg13;
								Math.abs(__reg1.vx) >= 1 ? null : (__reg1.vx = 1);
								__reg1.x = __reg2.x + __reg9 * __reg7;
								__reg1.y = __reg2.y + __reg10 * __reg7;
								__reg5 <= 2 ? null : (m[__reg2.ringname].shake = 12);
								__reg1.bumped = 1;
								if (App.music && __reg5 > 5) {
									App.zring.setVolume(Math.min(100, __reg5 * 5));
									App.zring.start();
								}
								break;
							}
						}
						++__reg6;
					}
				}
				++__reg12;
			}
		}
		
		MovieClip.prototype.rad = function(qdeg) {
			return qdeg * 0.01745329;
		}
		
		MovieClip.prototype.deg = function(qrad) {
			return qrad * 57.29578;
		}
		
		MovieClip.prototype.findang = function(dx, dy) {
			return deg(Math.atan2(dy, dx));
		}
		
		MovieClip.prototype.fadescreen = function(speed) {
			speed ? null : (speed = 5, 5);
			App.createEmptyMovieClip("dark", 100001);
			var d = App.dark;
			d.speed = speed;
			d.lineStyle(1, 0, 100);
			d.beginFill(16777215, 100);
			d.moveTo(-5000, -5000);
			d.lineTo(5000, -5000);
			d.lineTo(5000, 5000);
			d.lineTo(-5000, 5000);
			d.endFill();
			d.onEnterFrame = function() {
				d._alpha = d._alpha - d.speed;
				if (d._alpha <= 0) {
					d.removeMovieClip();
					d.stop();
				}
			}
			;
		}
		
		Number.prototype.isMultipleOf = function(BaseNum) {
			return !(this % BaseNum);
		}
		
		Array.prototype.copy = Array.prototype.slice;
		Array.prototype.randomize = function() {
			return this.sort(function(a, b) {
					return Math.floor(Math.random() * 2) == 0 ? 1 : -1;
				});
		}
		
		Array.prototype.removeElement = function(i) {
			if (i == null) {
				i = 0;
			}
			var __reg4 = this[i];
			var __reg2 = i;
			while (__reg2 < this.length - 1) {
				this[__reg2] = this[__reg2 + 1];
				++__reg2;
			}
			this.pop();
			return __reg4;
		}
		
		Array.prototype.removeValue = function(a) {
			var __reg2 = 0;
			for (; ; ) {
				if (__reg2 >= this.length) {
					return;
				}
				if (a == this[__reg2]) {
					this.removeElement(__reg2);
				}
				++__reg2;
			}
		}
		
		Array.prototype.contain = function(val) {
			var __reg3 = this.length;
			var __reg2 = 0;
			while (__reg2 < __reg3) {
				if (this[__reg2] == val) {
					return true;
				}
				++__reg2;
			}
			return false;
		}
		
		Color.prototype.setBrightness = function(value) {
			this.setTransform({ra: 100, rb: 0, ga: 100, gb: 0, ba: 100, bb: 0});
			var trans = this.getTransform();
			var percent = Math.abs(value) / 100;
			var brightnessColor = value <= 0 ? 0 : 255;
			with (trans) {
				ra = ra - ra * percent;
				ga = ga - ga * percent;
				ba = ba - ba * percent;
				rb = rb + (brightnessColor - rb) * percent;
				gb = gb + (brightnessColor - gb) * percent;
				bb = bb + (brightnessColor - bb) * percent;
			}
			this.setTransform(trans);
		}
		
		Color.prototype.setTint = function(col, percent) {
			if (isNaN(col) || isNaN(percent)) {
				return undefined;
			}
			col = col > 0 ? (col < 16777215 ? Math.round(col) : 16777215) : 0;
			percent = percent > 0 ? (percent < 100 ? percent / 100 : 1) : 0;
			var trans = this.getTransform();
			with (trans) {
				ra = ra - ra * percent;
				ga = ga - ga * percent;
				ba = ba - ba * percent;
				rb = rb + (((col & 16711680) >> 16) - rb) * percent;
				gb = gb + (((col & 65280) >> 8) - gb) * percent;
				bb = bb + ((col & 255) - bb) * percent;
			}
			this.setTransform(trans);
		}
		
		Color.prototype.resetColor = function() {
			this.setTransform({ra: 100, rb: 0, ga: 100, gb: 0, ba: 100, bb: 0});
		}
		
		Sound.prototype.fade = function(fadeType, fadeDuration) {
			this.fadeDuration = fadeDuration * 1000 / 100;
			this.fadeType = fadeType;
			this.currentVolume = this.getVolume();
			this.intID = setInterval(function(thisObj) {
					thisObj.doFade(thisObj.fadeType);
				}, this.fadeDuration, this);
			this.doFade = function(fadeType) {
				if (fadeType == "out") {
					this.setVolume(this.currentVolume--);
					if (this.getVolume() <= 0) {
						clearInterval(this.intID);
					}
					return;
				}
				if (fadetype == "in") {
					this.setVolume(this.currentVolume++);
					if (this.getVolume() >= 100) {
						clearInterval(this.intID);
					}
				}
			}
			;
		}
		
		MovieClip.prototype.jiggle = function(beginska, endska) {
			var t = this;
			beginska ? null : (beginska = 200, 200);
			endska ? null : (endska = 100, 100);
			t._xscale = t._yscale = beginska;
			t.ska = endska;
			t.dx = 0;
			t.dv = 0.7;
			t.dvstep = 0.5;
			t.onEnterFrame = function() {
				t.dx = t.dx * t.dvstep + (t.ska - t._xscale) * t.dv;
				t._xscale = t._xscale + t.dx;
				t._yscale = t._xscale;
			}
			;
		}
		
		MovieClip.prototype.getrandom = function(aray) {
			if (App.randomlisting.length > 0) {
				var __reg3 = 0;
				var __reg1 = 0;
				while (__reg1 < App.randomlisting.length) {
					if (App.randomlisting[__reg1] == aray) {
						__reg3 = 1;
						break;
					}
					++__reg1;
				}
				if (!__reg3) {
					App.randomlisting.push(aray);
				}
			} else {
				App.randomlisting = [];
				App.randomlisting.push(aray);
			}
			if (App[aray + "getrandom"].length <= 0) {
				App[aray + "getrandom"] = [];
				App[aray + "getrandom"] = App[aray].clone();
				App[aray + "getrandom"].randomize();
				if (App[aray + "getrandom"].length > 1) {
					if (App[aray + "lastpop"] == App[aray + "getrandom"][App[aray + "getrandom"].length - 1]) {
						App[aray + "getrandom"].pop();
					}
				}
			}
			var __reg4 = App[aray + "getrandom"].pop();
			App[aray + "lastpop"] = __reg4;
			return __reg4;
		}
		
		MovieClip.prototype.resetrandom = function() {
			if (App.randomlisting.length > 0) {
				var __reg1 = 0;
				for (; ; ) {
					if (__reg1 >= App.randomlisting.length) {
						return;
					}
					App[App.randomlisting[__reg1] + "getrandom"] = [];
					App[App.randomlisting[__reg1] + "lastpop"] = undefined;
					++__reg1;
				}
			}
		}
		
		Object.prototype.clone = function() {
			if (this instanceof Array) {
				__reg2 = [];
				__reg3 = 0;
				while (__reg3 < this.length) {
					__reg2[__reg3] = typeof this[__reg3] == "object" ? this[__reg3].clone() : this[__reg3];
					++__reg3;
				}
			} else if (this instanceof XML || this instanceof MovieClip) {
				__reg2 = null;
				trace("Warning! Object.clone can not be used on MovieClip or XML objects");
			} else {
				var __reg2 = {};
				for (var __reg3 in this) {
					__reg2[__reg3] = typeof this[__reg3] == "object" ? this[__reg3].clone() : this[__reg3];
				}
			}
			return __reg2;
		}
		
		ASSetPropFlags(Object.prototype, ["clone"], 1);
		MovieClip.prototype.wait = function(delay) {
			var t = this.createEmptyMovieClip("wdl", 55555);
			t.delay = delay;
			t.onEnterFrame = function() {
				--t.delay;
				if (t.delay < 0) {
					delete t.onEnterFrame;
					t._parent.play();
					t.removeMovieClip();
				}
			}
			;
			t._parent.stop();
		}
		
		MovieClip.prototype.savecookie = function(vari, value) {
			var __reg1 = SharedObject.getLocal("getanimatedcookie", "/");
			__reg1.data[vari] = value;
			__reg1.flush();
		}
		
		MovieClip.prototype.loadcookie = function(vari) {
			var __reg1 = SharedObject.getLocal("getanimatedcookie", "/");
			if (__reg1.data[vari] != null) {
				return __reg1.data[vari];
			}
			return false;
		}
	
	}

}